#include <stdio.h>
#include <stdlib.h>
int main(int argc, char const *argv[])
{
    FILE *fp;
    if ((fp = fopen("/home/wangsong/vscode/Devdoc/f1.txt", "w")) == NULL)
    {
        printf("open error");
        exit(0);
    }
    fprintf(fp, "%s", "春江潮水连海平，海上明月共潮生。");
    return 0;
}